package cn.dengta.webapp.trade.form.query;

import java.util.Date;

import cn.dengta.common.model.TimeInterval;
import cn.dengta.context.model.WesKit;
import cn.dengta.webapp.base.form.BaseForm;
import cn.dengta.webapp.base.form.QueryBaseForm;
import cn.dengta.webapp.trade.entity.CashLog;
import cn.dengta.webapp.user.model.Gender;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户积分
 *
 * @author yuqidi
 * @since 2022-03-14
 */
@Setter
@Getter
@Accessors(chain = true)
public class CashLogQuery extends QueryBaseForm<CashLog> {

	/** 用户名称 */
	private String userNickname;
	/** 支付平台 */
	private Integer platform;
	/** 第三方支付平台的提现订单号 */
	protected String thirdOrderNo;
	private Integer status;
	private Long userId;
	private Long agentId;
	/** 0=审核列表；1=已审核列表 */
	private Integer tab;
	public Long[] userIds;
	/** 性别 */
	public Gender gender;
	/** 核查状态 */
	public Integer checkStatus;

	/** 复审时间 */
	protected TimeInterval review;
	/** 马甲包 */
	public WesKit wesKit;

	public void setWesKit(Integer wesKit) {
		this.wesKit = WesKit.of(wesKit);
	}
	public void setGender(Integer gender) {
		this.gender = Gender.of(gender);
	}

}
